package com.whsxt.feign.hystrix;

import com.whsxt.domain.Sku;
import com.whsxt.feign.OrderProductFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-26 13:45
 * @Description:
 */
@Component
@Slf4j
public class OrderProductFeignHystrix implements OrderProductFeign {


    @Override
    public List<Sku> getSkuByIds(List<Long> skuIds) {
        return null;
    }

    @Override
    public void changeStock(Map<String, Map<Long, Integer>> stockMap) {
        log.info("远程调用修改库存失败");
    }
}
